a,a:hover,a:visited,a:focus,a:active {
    text-decoration: none;
    color: #999;
}
html,body {
    width: 100%;
    height: 100%;
    font-family: "Microsoft YaHei";
    line-height: 1;
    background: #f8f8f8;
    color: #666;

}
input {
    font-family: "Microsoft YaHei";
}

.fl {
    float: left;
}
.fr {
    float: right;
}
.clear {
    clear: both;
}
/* header部分 */
header {
    background: #fff;
    height: 1.16rem;
    line-height: 1.16rem;
    border-bottom: 1px solid #e8e8e8;
    text-align: center;
    color: #333;
    position: relative;
}
header h1 {
    font-size: 18px;
}
[data-dpr='2'] header h1 {
    font-size: 36px;
}
[data-dpr='3'] header h1 {
    font-size: 54px;
}

header a {
    position: absolute;
    top: 0.293333rem;
    color: #333;
}
header a.add-icon{
    right: 0.226667rem;
    width: 0.573333rem;
    height: 0.573333rem;
    background: url("../images/add.png") no-repeat;
    background-size: 100%;
}
header a.back {
    width: 0.373333rem;
    height: 0.693333rem;
    background: url("../images/back.png") no-repeat;
    background-size: 100%;
    left:0.226667rem;
    top:0.24rem;
}


#main {
    margin-bottom: 1.32rem;
    overflow: hidden;
}


/*nav主菜单导航栏*/
#nav-wrap {
    position: fixed;
    bottom:0;

    border-top: 0.01333rem solid #ededed;
    background: #fff;
    z-index: 9999;
    width: 100%;
}
.nav-list {
    display: flex;
    width: 100%;
    height: 1.306667rem;
}
.nav-list .nav-list-item {
    flex: 1;
}
.nav-list-item a {
    display: block;
    text-align: center;
    font-size: 10px;
}
.nav-list-item.cur a {
    color: #fabc1c;
}
[data-dpr='2'] .nav-list-item a {
    font-size: 20px;
}
[data-dpr='3'] .nav-list-item a {
    font-size: 30px;
}
.nav-icon {
    width: 0.667rem;
    height: 0.6933rem;
    background: url("../images/home.png") no-repeat center;
    background-size: 100%;
    margin: 0.13333rem auto 0.10666rem;
}
.home-icon {
    background-image: url("../images/home.png");
}
.nav-list-item.cur .home-icon {
    background-image: url("../images/home_on.png");
}
.device-icon {
    background-image: url("../images/device.png");
}
.nav-list-item.cur .device-icon {
    background-image: url("../images/device_on.png");
}
.event-icon {
    background-image: url("../images/event.png");
}
.nav-list-item.cur .event-icon {
    background-image: url("../images/event.png");
}
.mine-icon {
    background-image: url("../images/mine.png");
}
.nav-list-item.cur .mine-icon {
    background-image: url("../images/mine_on.png");
}


